package com.bullsora.kindlerss.business;

import java.text.DateFormat;

/**
 * @author Sorin Buliarca
 */
public class SafeFormatter {

  public static String format(DateFormat format, Object toFormat) {
    try {
      return format.format(toFormat);
    } catch (Exception e) {
      return "";
    }
  }
  
}
